//
//  CNBBSFavoriteViewModel.h
//  CsdnPlus
//
//  Created by 孟瑞瑞 on 2018/6/1.
//  Copyright © 2018年 CSDN. All rights reserved.
//

#import "BaseViewModel.h"
#import "CNBBSNetManager.h"

@interface CNBBSFavoriteViewModel : BaseViewModel

@property (nonatomic, assign) NSInteger code;

@property (nonatomic, copy) NSString *message;

@property (nonatomic, assign) BOOL success;



@property (nonatomic, copy) NSString *url;

@property (nonatomic, copy) NSString *score;

/**
 编辑论坛版块是否感兴趣
 
 @param forumId 类型
 @param isFavorite 是否感兴趣
 */
-(void)getBBSFavoriteWithForumId:(NSString *)forumId AndIsFavorite:(BOOL)isFavorite CompletionHandle:(CompletionHandle)completionHandle;

/**
 发帖
 
 @param title 标题
 @param body  内容
 @param forumId 类型
 @param point 积分
 @return 网络请求任务
 */
-(void)getBBSPostedWithTitle:(NSString *)title AndBody:(NSString *)body AndForumId:(NSString *)forumId AndPoint:(NSString *)point CompletionHandle:(CompletionHandle)completionHandle;

/**
 获取BBS积分
 
 */
-(void)getBBSScoreCompletionHandle:(CompletionHandle)completionHandle;

/**
 上传图片
 
 @param imageArray 图片数组
 @param fileNames  图片名
 @param imageType  图片类型
 @return 网络请求任务
 */
-(void)getBBSUpLoadPicWithImageArray:(NSArray *)imageArray AndImageTypes:(NSArray *)imageTypes CompletionHandle:(CompletionHandle)completionHandle;
@end
